// 创建动态路由和静态路由的vuex渲染侧边栏
import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: {
    menusList: []
  },
  mutations: {
    getmenus(state, aRoutes) {
      state.menusList = [...constantRoutes, ...aRoutes]
    }
  }
}
